﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="grsp.aspx.cs" Inherits="jg_grsp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Panel ID="Panel1" runat="server">
        <asp:GridView ID="GridView1" runat="server" Width="96%" AllowPaging="True" 
            AutoGenerateColumns="False" OnPageIndexChanging="GridView1_PageIndexChanging" 
            OnSelectedIndexChanged="GridView1_SelectedIndexChanged">
            <Columns>
                <asp:BoundField HeaderText="商品ID" DataField="id" />
                <asp:BoundField HeaderText="商品名称" DataField="name" />
                <asp:BoundField HeaderText="拍卖时间" DataField="riqi" />
                <asp:BoundField HeaderText="商品状态" DataField="size"/>
                <asp:HyperLinkField HeaderText="商品拍卖预览" DataNavigateUrlFields="id" 
                    DataNavigateUrlFormatString="~/jg/spxq.aspx?ID={0}" DataTextFormatString="{0:c}" Text="查看" />
                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="~/jg/xgsp.aspx?ID={0}" DataTextFormatString="{0:c}" HeaderText="修改商品信息" Text="修改" />
                <asp:TemplateField>
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>

            <PagerSettings FirstPageText="首页" LastPageText="尾页" Mode="NextPrevious" 
                NextPageText="下一页" PreviousPageText="上一页" />

        </asp:GridView>
    </asp:Panel>
    <asp:Label ID="lblOrder" runat="server" Font-Size="Large"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:Button ID="Button3" runat="server" Font-Size="Large" OnClick="Button3_Click" Text="下架商品" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ContentPlaceHolder5" Runat="Server">
</asp:Content>

